<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript" src="js/vue.js" ></script>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="item in arr">{{item}}</li>
        <br />
        <li v-for="(item,index) in arr">{{item+'-----'+index}}</li>
    </ul>
</div>
<script>
    var vm=new Vue({
        el:'#app',
        data:{
            arr:['1','2','3']
        }
    });
</script>
</body>
</html>
